package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class User {

    private int id;
    private String username;
    private String password;
    private String phone;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    private Date createTime;
    private double money;
    private int sex;
}